module.exports = (code, message, data) => ({code, message, data})